package cn.darkfire.CarWeb.Service;

import cn.darkfire.CarWeb.POJO.Car;

import java.util.List;

public interface CarService {
    List<Car> getAllCar();
    List<Car> searchCar(String name);
    Car queryCarByName(String name);
    int deleteCar(String id);
    int addCar(Car car);
    boolean carIsExist(String id);
    boolean updateCar(Car car);
    int getID();
}
